From 5fffc2e9cad57ad443eb683373eecb2b0e97a7b6 Mon Sep 17 00:00:00 2001 From: "E. Dunham" Date: Mon, 10 Oct 2016 12:33:22 -0700 Subject: [PATCH] Use a MinGW that doesn't break pthreads Also correct the bits to triples mapping, because tyops --- appveyor.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 7c9839c2f..3017466e4 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -11,13 +11,19 @@ environment: ARCH: amd64 - TARGET: x86_64-pc-windows-gnu ARCH: amd64 - BITS: 32 + BITS: 64 - TARGET: i686-pc-windows-gnu ARCH: x86 - BITS: 64 + BITS: 32 + MINGW_ARCHIVE: i686-4.9.2-release-win32-dwarf-rt_v4-rev4.7z + MINGW_URL: https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/4.9.2/threads-win32/dwarf/i686-4.9.2-release-win32-dwarf-rt_v4-rev4.7z/download + MINGW_DIR: mingw32 install: - IF "%MSVC%"=="" set PATH=C:\msys64\mingw%BITS%\bin;C:\msys64\usr\bin;%PATH% + - if defined MINGW_ARCHIVE appveyor DownloadFile "%MINGW_URL%" -FileName "%MINGW_ARCHIVE%" + - if defined MINGW_ARCHIVE 7z x -y "%MINGW_ARCHIVE%" > nul + - if defined MINGW_ARCHIVE set PATH=%CD%\%MINGW_DIR%\bin;C:\msys64\usr\bin;%PATH% - python src/etc/install-deps.py - python src/etc/dl-snapshot.py %TARGET% - SET PATH=%PATH%;%cd%/rustc/bin -- 2.30.2